package com.qf.zyh.services;

import com.github.pagehelper.PageInfo;
import com.qf.zyh.entity.Emp;

import java.util.List;

public interface EmpServices {
    Emp login(String name,String pwd);
    boolean insertEmp(Emp e);
    boolean updateEmp(Emp e);
    boolean deleteEmoByEno(Integer eno);
    List<Emp> getAll();
    Emp getEmpByEno(Integer eno);
    PageInfo<Emp> getEmpByPage(Integer pageindex);
}
